package com.zbkj.crmeb.order.request;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 外部订单
 * @Description: 
 * @author daigb
 * @date 2021-06-17
 */
@Data
public class OutOrderRequest {

    @ApiModelProperty(value = "外部订单号")
    private String orderId;

    @ApiModelProperty(value = "收货人姓名")
    private String realName;

    @ApiModelProperty(value = "收货人身份证号码")
    private String idCard;

    @ApiModelProperty(value = "收货人电话")
    private String userPhone;

    @ApiModelProperty(value = "区域类型 1 国内，2 港澳，3 海外")
    private Integer areaType;

    @ApiModelProperty(value = "详细地址")
    private String userAddress;

    @ApiModelProperty(value = "运费总金额")
    private BigDecimal freightPrice;

    @ApiModelProperty(value = "订单商品总数")
    private Integer totalNum;

    @ApiModelProperty(value = "订单总价")
    private BigDecimal totalPrice;

    @ApiModelProperty(value = "实际支付金额")
    private BigDecimal payPrice;

    @ApiModelProperty(value = "订单创建时间")
    private Date createTime;

    @ApiModelProperty(value = "订单支付时间")
    private Date payTime;

    @ApiModelProperty(value = "订单创建人")
    private String createName;

    @ApiModelProperty(value = "备注")
    private String mark;

    @ApiModelProperty(value = "收货人所在省")
    private String province;

    @ApiModelProperty(value = "收货人所在市")
    private String city;

    @ApiModelProperty(value = "收货人所在区")
    private String district;

    @ApiModelProperty(value = "收货人详细地址")
    private String detail;
    
    @ApiModelProperty(value = "面单地址")
    private String expressUrl;

    @ApiModelProperty(value = "是否校验身份证")
    private Boolean isTof;

    @ApiModelProperty(value = "订单商品详情")
    private List<OutOrderInfoRequest> outOrderInfoRequest;

    @ApiModelProperty(value = "外部订单来源（1: 吉客云 2：海带 3: 天猫)")
    private Integer outOrderSource;

    @ApiModelProperty(value = "税费用")
    private BigDecimal taxAmount;

}
